import request from '@/utils/request'

// 预约地点 集合
export function getAddList() {
  return request({
    url: 'open/scenes',
    method: 'get',
  })
}

export function getCusList(data) {
  return request({
    url: 'open/appointment',
    method: 'get',
    params: data
  })
}

// 详情
export function CusInfo2(id) {
  return request({
    url: 'open/appointment/' + id,
    method: 'get',
  })
}

// 提交
export function updateItem2(id, data) {
  return request({
    url: 'open/appointment/' + id,
    method: 'put',
    data,
    msg: true
  })
}

// 账户升级-见面
export function accountUp2(id,data){
  return request({
    url: 'open/appointment/upgrade/' + id,
    method: 'put',
    data,
    msg: true
  })
}

